package com.oceansoft.mobile.econsole.modules.weixin.entity;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class JpMapper implements RowMapper<Jp> {
	public Jp mapRow(ResultSet rs,int rowIndex) throws SQLException {
		Jp jp=new Jp();
		jp.setId(rs.getInt("ID"));
		jp.setName(rs.getString("NAME"));
		jp.setCount(rs.getInt("COUNT"));
		
		
		return jp;
		
	}
	

}
